package com.ysd.twocrm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

//多对多 课程与课程班级
@TableName(value = "classcourse")
public class ClassCourse {

    @TableId(value = "ccid",type = IdType.AUTO)
    private Integer ccid;

    private Integer cid;//课程id

    private Integer studentclassid;//班级id

    public ClassCourse(Integer ccid, Integer cid, Integer studentclassid) {
        this.ccid = ccid;
        this.cid = cid;
        this.studentclassid = studentclassid;
    }

    public ClassCourse() {
        super();
    }

    @Override
    public String toString() {
        return "ClassCourse{" +
                "ccid=" + ccid +
                ", cid=" + cid +
                ", studentclassid=" + studentclassid +
                '}';
    }

    public Integer getCcid() {
        return ccid;
    }

    public void setCcid(Integer ccid) {
        this.ccid = ccid;
    }

    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    public Integer getStudentclassid() {
        return studentclassid;
    }

    public void setStudentclassid(Integer studentclassid) {
        this.studentclassid = studentclassid;
    }
}
